1 REM " <CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M> DEFENDER 2<CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M> MOBAS INC.<CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M>"
2 REM "<CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M>"
10 TEXT : HOME : POKE 232,8: POKE 233,82: POKE 232,8: POKE 233,82
20 PRINT "<CTRL-D>BLOADA1"
30 HGR : HCOLOR= 5
40 DRAW 4 AT 70,90: DRAW 5 AT 90,90: DRAW 6 AT 110,90: DRAW 5 AT 130,90: DRAW 14 AT 150,90: DRAW 4 AT 170,90: DRAW 5 AT 190,90: DRAW 18 AT 210,90
50 PRINT "<CTRL-D>BLOADN++L"
60 DRAW 2 AT 228,93: HCOLOR= 3: DRAW 23 AT 103,130: DRAW 25 AT 109,130: DRAW 12 AT 115,130: DRAW 11 AT 121,130: DRAW 29 AT 127,130: DRAW 19 AT 140,130: DRAW 24 AT 145,130: DRAW 13 AT 151,130: HPLOT 153,136
62 DRAW 1 AT 200,140: DRAW 9 AT 205,140: DRAW 8 AT 211,140: DRAW 2 AT 217,140: FOR Q8 = 1 TO 1000: NEXT : FOR Q9 = 1 TO 78: LET LINE = LINE +2: HPLOT 1,LINE TO 279,LINE: NEXT
70 HCOLOR= 3: HPLOT 279,156 TO 279,1: HPLOT 279,1 TO 1,1: HPLOT 1,1 TO 1,156: FOR E1 = 1 TO 1000: NEXT : TEXT
80 FOR Q5 = 1 TO 26: PRINT " ": NEXT : VTAB (1): FOR W = 9 TO 0 STEP -1: VTAB (12): HTAB (19): PRINT W: FOR W1 = 1 TO 300: NEXT : NEXT W: VTAB (12): HTAB (16): PRINT "LAUNCHING!": FOR W2 = 1 TO 500: NEXT W2
90 TEXT : HOME : SCALE= 1
100 HGR : PRINT "<CTRL-D>BLOADD"
110 HCOLOR= 1: HPLOT 0,0: CALL 62454
120 HGR
130 HOME
140 HCOLOR= 1: HPLOT 0,159 TO 279,159
150 DIM A(20): DIM B(20)
159 LET R1 = R1 +1: IF R1 >3 THEN 5000
160 FOR T = 1 TO 5
170 HCOLOR= 1: HPLOT 0,159 TO 279,159
180 LET A(T) = INT(279 * RND(1)) +1
190 LET B(T) = INT(158 * RND(1)) +1
200 HPLOT A(T),B(T)
210 NEXT
220 LET X = 80
230 LET Y = 1
240 HCOLOR= 3: DRAW Y AT 138,X
245 P = X
250 IF PEEK( -16384) <128 THEN O = PEEK( -16384): POKE -16368,0
260 HCOLOR= 0: FOR T = 1 TO 5: HPLOT A(T),B(T): NEXT
270 HCOLOR= 3
280 FOR T = 1 TO 5: IF Y = 1 THEN LET A(T) = A(T) +20
290 IF Y = 2 THEN LET A(T) = A(T) -20
300 IF A(T) >250 THEN LET A(T) = 21
310 IF A(T) <20 THEN LET A(T) = 250
320 HPLOT A(T),B(T)
330 NEXT
340 GOTO 620
350 IF O = 90 THEN 410
360 IF O = 65 THEN 430
370 IF O = 8 THEN 450
380 IF O = 21 THEN 460
390 IF O = 32 THEN 470
395 IF O = 81 THEN 569
400 POKE -16368,0: GOTO 240
410 HCOLOR= 0: DRAW Y AT 138,X: LET X = X +7: IF X >150 THEN X = 150
420 HCOLOR= 3: DRAW Y AT 138,X: POKE -16368,0: GOTO 240
430 HCOLOR= 0: DRAW Y AT 138,X: LET X = X -7: IF X <10 THEN X = 10
440 HCOLOR= 3: DRAW Y AT 138,X: POKE -16368,0: GOTO 240
450 HCOLOR= 0: DRAW Y AT 138,X: LET Y = 1: HCOLOR= 3: POKE -16368,0: GOTO 240
460 HCOLOR= 0: DRAW Y AT 138,X: LET Y = 2: HCOLOR= 3: POKE -16368,0: GOTO 240
470 HCOLOR= 3: IF Y = 1 THEN 490
480 HPLOT 146,X TO 279,X: HCOLOR= 0: HPLOT 146,X TO 279,X: POKE -16368,0: HCOLOR= 3: GOSUB 1090: GOTO 510
490 HPLOT 130,X TO 0,X: HCOLOR= 0: HPLOT 130,X TO 0,X: POKE -16368,0: HCOLOR= 3
500 GOSUB 1090
510 IF Y = 1 AND C <138 THEN 580
520 POKE -16368,0
530 IF Y = 2 AND C >138 THEN 550
540 GOTO 240
550 LET J = X +4: LET K = X -4: IF D <J AND D >K THEN 570
560 GOTO 240
569 POKE -16368,0: POKE -16368,0: LET G = 10: LET M2 = M2 +1: IF M2 >4 THEN 250
570 HCOLOR= 0: LET G = 0: DRAW S AT C,D: POKE -16368,0
575 HOME : VTAB (24): IF S = 4 THEN LET Z1 = Z1 +10
576 IF S = 5 THEN Z1 = Z1 +100
577 IF S = 6 THEN Z1 = Z1 +50
578 PRINT "SCORE= ";Z1: GOTO 240
580 LET J = X +4
590 LET K = X -4
600 IF D <J AND D >K THEN 570
610 GOTO 240
620 POKE -16368,0: IF G = 10 THEN 650
630 LET C = INT(279 * RND(1)) +1: LET D = INT(140 * RND(1)) +10
640 LET S = INT(3 * RND(1)) +4: LET G = 10: LET F = INT(7 * RND(1)) +1: IF F = 0 THEN F = 1
650 HCOLOR= 0: DRAW S AT C,D
660 LET F = INT(7 * RND(1)) +1: IF F = 0 THEN F = 1
670 IF F = 4 THEN F = 5
680 IF Y = 1 THEN 780
690 IF C >138 THEN 710
700 LET C = C -4: GOTO 720
710 LET C = C -10
720 HCOLOR= F
730 IF C <10 THEN C = 270
740 DRAW S AT C,D: IF C <144 AND C >132 THEN 1110
750 IF S = 5 THEN 870
760 IF S = 6 THEN 930
770 GOTO 350
780 IF C <138 THEN 800
790 LET C = C +4: GOTO 810
800 LET C = C +10: GOTO 810
810 HCOLOR= F
820 IF C >270 THEN C = 10
830 DRAW S AT C,D: IF C <144 AND C >132 THEN 1110
840 IF S = 6 THEN 930
850 IF S = 5 THEN 870
860 GOTO 350
870 HCOLOR= 0: DRAW S AT C,D: IF C <138 THEN LET C = C +5
880 IF C >138 THEN LET C = C -5
890 IF D <X THEN LET D = D +5
900 IF D >X THEN LET D = D -5
910 HCOLOR= F: DRAW S AT C,D: IF C <144 AND C >132 THEN 1110
920 GOTO 350
930 HCOLOR= 3: LET R = INT(159 * RND(1)) +1: HPLOT C,D TO 138,R: HCOLOR= 0: HPLOT C,D TO 138,R
940 IF R <X +5 AND R >X -5 THEN 960
950 GOTO 350
960 LET G = 0: GOTO 1000
970 FOR T = 1 TO 5: HPLOT A(T),B(T)
980 GOTO 350
990 GOTO 160
1000 FOR B = 1 TO 10: LET A = INT(7 * RND(1)) +1: LET A1 = INT(25 * RND(1)) +130: LET A2 = INT(12 * RND(1)) +X -5: HCOLOR= A
1010 LET A3 = INT(25 * RND(1)) +130: LET A4 = INT(12 * RND(1)) +X -5
1020 HPLOT A1,A2 TO A3,A4: HPLOT A1,A2 TO 125,X +5: HPLOT A1,A2 TO 125,X +5: HPLOT A3,A4 TO 125,X +5: HPLOT A3,A4 TO 125,X +5: NEXT
1030 GOSUB 1100
1040 FOR Q9 = 1 TO 10: SCALE= Q9: HCOLOR= 5: DRAW 9 AT 138,P: FOR Q8 = 1 TO 3: NEXT Q8: NEXT Q9
1041 SCALE= 1
1060 HGR
1070 LET G = 0
1075 LET M2 = 0
1080 GOTO 159
1090 POKE 1,5: POKE 2,1: POKE 889,228: CALL 867: POKE 889,229: CALL 865: POKE 889,123: POKE 1,15: FOR L = 1 TO 1: POKE 2,L: POKE 2,1: CALL 865: RETURN
1100 POKE 1,5: POKE 2,2: POKE 889,128: CALL 865: POKE 889,129: CALL 865: POKE 889,130: POKE 1,55: FOR L = 1 TO 14: POKE 2,L: CALL 865: NEXT : POKE 2,55: CALL 865: RETURN
1110 IF D <X +6 AND D >X -6 THEN 1130
1120 GOTO 350
1130 GOTO 1000
5000 TEXT : HOME : PRINT " YOUR SCORE WAS ";Z1: VTAB (4): PRINT " ANOTHER GAME (Y/N)"
5010 GET Q$
5020 IF Q$ = "Y" THEN 5050
5030 IF Q$ = "N" THEN NEW
5040 GOTO 5000
5050 LET R1 = 0: LET Z1 = 0: GOTO 1060
32000 REM "<CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M> SOUND GENERATOR BY TOM CLEAVER<CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M> UNIVERSITY OF LOUISVILLE<CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M><CTRL-M>"